#ifndef NORMALNODE_H
#define NORMALNODE_H

#include "Node.h"

class NormalNode : public Node
{
public:
    NormalNode(Node* mean, Node* variance, double sampleValue = 0.0, bool isObserved = false, QString label = QString());

    NormalNode(const NormalNode& other);

    ~NormalNode();

    double randomSample();

    double logLikelihood(double x);

private:
    Node* mean;
    Node* variance;
};

#endif // NORMALNODE_H
